<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改信息</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!-- 引入 Bootstrap -->
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">


    <style>

        .btn{
            text-align: center;
            padding: 5px;
            width: 10%;
            margin-top: 40px;
            background-image: linear-gradient(to right, #a6c1ee, #fbc2eb);

        color: #fff;
        }
    </style>
</head>
<body>
<div class="container">

    <div class="row clearfix">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1>
                    <small>修改信息</small>
                </h1>
            </div>
        </div>
    </div>

    <form action="${pageContext.request.contextPath}/account/updateAccount" method="get">
        <input type="hidden" name="id" value="${accounts.id}"/>
        账户名称：<input type="text" name="name" value="${accounts.name}"/><br><br>
        账户金额：<input type="text" name="money" value="${accounts.money}"/><br><br>
        账户描述：<input type="text" name="detail" value="${accounts.detail }"/><br><br>
        <input class="btn" type="submit" value="提交"/>
        <a class="btn" href="${pageContext.request.contextPath}/account/findAll">返回账户界面</a>

    </form>

</div>
